//
//  SwiftForward.swift
//  SwiftForwardWayXu
//
//  Created by 郑程旭 on 2022/1/6.
//

import Foundation
import SnapKit

func kHexColor(hex: NSInteger, alpha: CGFloat) -> UIColor {
    let red = CGFloat(((hex & 0xFF0000) >> 16))/255.0
    let green = CGFloat(((hex & 0x00FF00) >> 8))/255.0
    let blue = CGFloat((hex & 0x0000FF))/255.0
    return UIColor.init(red: red , green: green, blue: blue, alpha: alpha)
}

let kTintColor = kHexColor(hex: 0x44D9C5, alpha: 1)




